<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
          let a=1
        function fn(){
            let a=2
            let b='22'
            fn2()

            function fn2(){

                let a=3
                fn3()
                function f3(){

                    let a=4
                    document.write(a)
                    document.write(b)
                }
            }
        }
        fn()





    </script>
</body>
</html>